﻿<!DOCTYPE html>

<html>
	<head>
			<meta charset="utf-8">
			<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Concerne Internet Explorer -->
			<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Concerne les portables -->
			
			<?php echo css_url("bootstrap.min"); ?>
			<?php if(isset($page) && $page == "home") echo css_url("home"); ?>
			<?php echo css_url("menu"); ?>
			<?php echo js_url("jquery-1.11.2.min"); ?>
			<?php echo js_url("bootstrap"); ?>
			
			<title>Nuit de l'informatique</title>
			<link rel="short icon" href="<?php echo base_url().'assets/images/'; ?>icon.ico" type="image/x-icon" />
			
			<script>
				$(document).ready(function(){
					$("body").css('background-image','url(<?php echo base_url(); ?>assets/images/back.jpg)');
					$("body").css('background-repeat','no-repeat');
					$("body").css('background-size','cover');
				});
			</script>
			
	</head>
	<body>	
		<!-- Barre de navigation -->
		<div class="container">
			<?php if (!ISSET($nomenu)) {?>
			<nav class="navbar navbar-custom">
				<ul class="nav navbar-nav">
					<li class="dropdown"> 
						<a data-toggle="dropdown" href="#" class="colornav">Home<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="<?php echo base_url(); ?>">Accueil</a></li>
							<li><a href="<?php echo base_url().'utilisateur/inscription'; ?>">Inscription participant</a></li>
							<li><a href="<?php echo base_url().'jury/inscription'; ?>">Inscription Jury</a></li>
							<li><a href="<?php echo base_url().'utilisateur/validation'; ?>">Validation utilisateurs</a></li>
						</ul>
					</li>
					<li class="dropdown"> 
						<a data-toggle="dropdown" href="#" class="colornav">Mon projet<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="#">Planification</a></li>
							<li><a href="<?php echo base_url().'utilisateur/todoList'; ?>">Ma TodoList</a></li>
							<li><a href="#">Dont pointeuse</a></li>
						</ul>
					</li>
					<li class="dropdown"> 
						<a data-toggle="dropdown" href="#" class="colornav">Ressources<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="#">Liste des items</a></li>							
							<li><a href="#">Importer la liste des items</a></li>							
						</ul>
					</li>
					<li class="dropdown"> 
						<a data-toggle="dropdown" href="#" class="colornav">Resultats<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="#">Podium</a></li>
							<li><a href="#">Scores</a></li>
						</ul>
					</li>
					<li class="dropdown"> 
						<a data-toggle="dropdown" href="#" class="colornav">Jury<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="#">Harmonisation</a></li>
							<li><a href="#">Noter un groupe</a></li>
						</ul>
					</li>
					<li class="dropdown"> 
						<a data-toggle="dropdown" href="#" class="colornav">Admin<b class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="<?php base_url()?>administrateur/activePage">Activer pages</a></li>
							<li><a href="<?php base_url()?>administrateur/valideInscription">Valider les inscriptions</a></li>
						</ul>
					</li>
				</ul>
			</nav>
		<?php } ?>
		</div>		
		<!-- Fin de barre de navigation -->
	<?php echo $contents; ?>
	</body>
</html>